﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using PlatformNetCore.Entity;
using PlatformNetCore.Entity.Models;

namespace PlatformNetCore.IService
{
    public interface IJobsService
    {
        #region 后台-Jobs管理
        LayPager<Jobs> GetJobsPagedList(int pageIndex, int pageSize, Expression<Func<Jobs, bool>> predicate);
        ResultResponse<Jobs> GetJobs(string id);
        ResultResponse AddJobs(Jobs model);
        ResultResponse UpdateJobs(Jobs model);
        ResultResponse CopyJobs(string id,string userName);
        ResultResponse UpdateJobsState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
